package com.meals.system.dao;

import com.meals.system.entity.SystemUserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Description:
 * Parm:
 * return:
 * Author: Chen
 * Date: 2021/12/11
 */
@Mapper
public interface SystemUserAddressMapper {

    SystemUserAddress selectByPrimaryKey(Long addressId);

    SystemUserAddress getMyDefaultAddress(Long userId);

    List<SystemUserAddress> findAddressList(Long userId);

    int insert(SystemUserAddress record);

    int insertSelective(SystemUserAddress record);

    int updateByPrimaryKey(SystemUserAddress record);

    int updateByPrimaryKeySelective(SystemUserAddress record);

    int deleteByPrimaryKey(Long addressId);
}
